<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户中心</title>
    <link rel="stylesheet" type="text/css" href="../../static/news/css/reset.css">
    <link rel="stylesheet" type="text/css" href="../../static/news/css/main.css">
    <script type="text/javascript" src="../../static/news/js/jquery-1.12.4.min.js"></script>
</head>
<body>
<div class="header_con">
    <div class="header">
        <a href="#" class="logo fl"><img src="../../static/news/images/logo.png" alt="logo"></a>
        <div class="user_login fr" style="display: block;">
            {% for user in users %}
                {% if user.photo %}
                    <img src="{{ user.photo }}" class="lgin_pic">
                {% else %}
                    <img src="../../static/news/images/person01.png" class="lgin_pic">
                {% endif %}

                <a href="/user/">{{ user.username }}</a>
            {% endfor %}
            <a href="/outlogin" onclick="">退出</a>
        </div>
    </div>
</div>

<div class="conter_con">
    <div class="user_menu_con fl">
        <div class="user_center_pic">
            {% for user in users %}
                {% if user.photo %}
                    <img src="{{ user.photo }}" class="lgin_pic">
                {% else %}
                    <img src="../../static/news/images/person01.png" class="lgin_pic">
                {% endif %}
            {% endfor %}
        </div>
        {% for user in users %}
            <div class="user_center_name">{{ user.username }}</div>
        {% endfor %}
        <ul class="option_list">
            <li><a href="/user/base" target="main_frame">基本资料</a></li>
            <li><a href="/user/photo" target="main_frame">头像设置</a></li>
            <li><a href="user_follow.html" target="main_frame">我的关注</a></li>
            <li><a href="user_pass_info.html" target="main_frame">密码修改</a></li>
            <li><a href="user_collection.html" target="main_frame">我的收藏</a></li>
            <li><a href="/user/addnews" target="main_frame">新闻发布</a></li>
            <li><a href="/user/newlist" target="main_frame">新闻列表</a></li>
        </ul>
    </div>

    <div class="user_con fr">
        <iframe src="/user/base" frameborder="0" name="main_frame" class="main_frame" id="main_frame"></iframe>
    </div>
</div>
<div class="footer">
    <div class="footer_links">
        <a href="">关于我们</a>
        <span>|</span>
        <a href="">联系我们</a>
        <span>|</span>
        <a href="">招聘人才</a>
        <span>|</span>
        <a href="">友情链接</a>
    </div>
    <p class="copyright">
        CopyRight © 2018 新经资讯信息技术有限公司 All Rights Reserved<br/>
        电话：010-****888 京ICP备*******8号
    </p>
</div>
</body>
</html>